<template>
  <view style="background-color:#e5e5e5">
    <view v-html="list.message" class="message"></view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      list: {},
    };
  },
  methods: {
    goback() {
      uni.reLaunch({
        url: `../homePage/homePage`,
      });
    },
  },
  onLoad: function (option) {
    if (option) {
      let list = JSON.parse(uni.getStorageSync("list"));
      this.list = list[option.index];
    }
  },
};
</script>

<style>
.message {
  padding: 38rpx;
}
</style>
